﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrator/EHTAdmin.Master" AutoEventWireup="true" CodeBehind="EHTProductUI.aspx.cs" Inherits="EHTWebsiteProject.Administrator.EHTProductUI" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MenuModulContent" runat="server">
    <div class="MenuSub-Left" >
        <table>
            <tr>
                <td> <img alt="" src="../images/EHTgiaodien/icon-add-48.jpeg" width="46px" height="46px" />&nbsp;</td>
                <td><asp:Label ID="lbAdd_Edit"  runat="server" Text="Thêm" ></asp:Label></td>
                <td><asp:Label ID="lbProducts" runat="server" Text="sản phẩm" ></asp:Label></td>                
            </tr>
        </table>           
    </div>
    <div class="MenuSub-Right" align="right">
        <table style="height:60px">
            <tr>                               
                   <td valign="middle">
                    <div class="add-edit-del">
                            <asp:ImageButton ID="ImgSave" 
                                ImageUrl="~/images/EHTgiaodien/icon-32-revert.png" runat="server" width="32px" 
                                height="32px" class="imagboder" onclick="ImgSave_Click" />
                            <br />
                            <asp:Label ID="lbSave" runat="server" Text="Lưu"></asp:Label>
                        
                    </div>
                </td>
                <td valign="middle">
                    <div class="add-edit-del">
                            <asp:ImageButton ID="ImgApply" 
                                ImageUrl="~/images/EHTgiaodien/icon-16-checkin.png" runat="server" width="32px" 
                                height="32px" class="imagboder" onclick="ImgApply_Click" />
                            <br />
                            <asp:Label ID="lbApply" runat="server" Text="Áp dụng"></asp:Label>
                        
                    </div>
                </td>
                <td valign="middle">
                    <div class="add-edit-del">
                        <a href="EHTProducts.aspx">
                            <img alt="" src="../images/EHTgiaodien/icon-32-cancel.png" width="32px" height="32px" class="imagboder" /><br />
                            <asp:Label ID="lbCancel" runat="server" Text="Hủy"></asp:Label>
                        </a>
                    </div>
                </td>
                 <td valign="middle">
                    <div class="add-edit-del">
                        <a href="#">
                            <img alt="" src="../images/EHTgiaodien/icon-32-help.png" width="32px" height="32px" class="imagboder" /><br />
                            <asp:Label ID="lbHelp" runat="server" Text="Trợ giúp"></asp:Label>
                        </a>
                    </div>
                </td>                
            </tr>
        </table>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMain" runat="server">
    <asp:Literal ID="ltrErorr" runat="server"></asp:Literal>
    <div style="padding-top:10px">
        <table class="table" border="0" cellpadding="0" cellspacing="0">
             <tr>
                <td>
                    <asp:Label ID="lbMaSku" runat="server" Text="Sku"></asp:Label>
                </td>
                <th>
                    <asp:TextBox ID="txtMaSku" CssClass="InputText" runat="server"></asp:TextBox>                    
                </th>  
                
                <td>
                    <asp:Label ID="lbPrice" runat="server" Text="Đơn giá"></asp:Label>
                </td>
                <th>
                    
                    <asp:TextBox ID="txtPrice" runat="server" CssClass="ThuTu" Text="0.0" >                        
                    </asp:TextBox>  
                                    
                </th> 
                              
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lbTenSanPhamVN" runat="server" Text="Tên sản phẩm"></asp:Label>
                </td>
                <th>
                    <asp:TextBox ID="txtTenSanPhamVN" CssClass="InputText" runat="server"></asp:TextBox>                    
                </th> 
                <td>
                    <asp:Label ID="lbGiamGia" runat="server" Text="Giảm giá"></asp:Label>
                </td>
                <th>
                    
                    <asp:TextBox ID="txtGiamGIa" runat="server" CssClass="ThuTu" Text="0.0"></asp:TextBox>
                </th>                
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lbTenSanPhamOther" runat="server" Text="Tên sản phẩm Other"></asp:Label>
                </td>
                <th>
                    <asp:TextBox ID="txtTenSanPhamOther" CssClass="InputText" runat="server" ></asp:TextBox>
                </th>
                <td>
                    <asp:Label ID="lbThuTu" runat="server" Text="Thứ tự"></asp:Label>
                </td>
                <th>
                    <asp:TextBox ID="txtThuTu" CssClass="ThuTu" runat="server" Text="1" ></asp:TextBox>
                </th>      
            </tr>
            
            <tr>
                 <td>
                    <asp:Label ID="lbDanhMucSanPham" runat="server" Text="Danh mục sản phẩm"></asp:Label>
                </td>
                <th>
                    <asp:DropDownList ID="ddlDanhMucSanPham" runat="server" CssClass="InputText">
                    </asp:DropDownList>                
                </th> 
                <td>
                    <asp:Label ID="lbNoiBat" runat="server" Text="Nổi bật"></asp:Label>
                </td>
                <th>
                    <asp:CheckBox ID="ckNoiBat" runat="server" />                   
                </th> 
                   
            </tr>
             <tr>
                <td>
                    <asp:Label ID="lbGroup" runat="server" Text="Nhóm"></asp:Label>
                </td>
                <th>
                    
                    <asp:TextBox ID="txtGroup" runat="server" CssClass="InputText"></asp:TextBox>
                </th> 
                 <td>
                    <asp:Label ID="lbHinhAnh" runat="server" Text="Ảnh"></asp:Label>
                </td>
                <th>
                    <div style="padding:3px 3px 3xp 7px; width:130px; border:1px solid #ccc">
                        <asp:Image ID="ImageProduct" runat="server" Width="120px" Height="95px" />
                    </div>
                    <br />
                    <asp:FileUpload ID="FileUploadImage" runat="server" />                
                </th>      
            </tr>
            
            <tr>
               
                 <th colspan="4">
                     <br />
                    <asp:Label ID="lbNoiDungVN" runat="server" Text="Nội dung"></asp:Label>
                     <br />
&nbsp;<FCKeditorV2:FCKeditor ID="fckNoiDungVN" runat="server" BasePath="../fck/fckeditor/"
                            Width="99%" Height="500px" /> 
                </th>  
            </tr>
            
            <tr>
               
                 <th colspan="4">
                     <br />
                    <asp:Label ID="lbNoiDungOther" runat="server" Text="Nội dung Other"></asp:Label>
                     <br />
&nbsp;<FCKeditorV2:FCKeditor ID="fckNoiDungOther" runat="server" BasePath="../fck/fckeditor/"
                            Width="99%" Height="500px" /> 
                </th>  
            </tr>
        </table> 
    </div>
</asp:Content>
